//
//  HomeLunBoH5ViewController.m
//  shopping
//
//  Created by 马田成 on 2017/10/6.
//  Copyright © 2017年 qianyi. All rights reserved.
//

#import "HomeLunBoH5ViewController.h"

@interface HomeLunBoH5ViewController ()

{

    UIWebView *webView;

}
@end

@implementation HomeLunBoH5ViewController
- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:NO animated:NO];
    
    
}
- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setTitle:@"公告详情"];
    
    webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, DEF_SCREEN_WIDTH, DEF_SCREEN_HEIGHT- 49)];
    NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString:self.str]];
    [self.view addSubview: webView];
    [webView loadRequest:request];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
